home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul-41.4
/
stack
/
stkchk_d0.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-23
|
231b
|
21 lines
#include <bases.h>
asm("
.text
.even
.globl ___stkchk_d0
.globl ___stkchk_0
___stkchk_d0:
negl d0
addl sp,d0
cmpl "A4(___stk_limit)",d0
jcs ___stkovf
rts
___stkchk_0:
cmpl "A4(___stk_limit)",sp
jcs ___stkovf
rts
");